home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / mail / pine3.96.tar.gz / pine3.96.tar / pine3.96 / imap / ANSI / c-client / makefile.dos < prev    next >
Makefile  |  1995-07-18  |  3KB  |  90 lines

  1. # Program:    Portable C client makefile -- MS-DOS version
  2. #
  3. # Author:    Mark Crispin
  4. #        Networks and Distributed Computing
  5. #        Computing & Communications
  6. #        University of Washington
  7. #        Administration Building, AG-44
  8. #        Seattle, WA  98195
  9. #        Internet: MRC@CAC.Washington.EDU
  10. #
  11. # Date:        11 May 1989
  12. # Last Edited:    18 July 1995
  13. #
  14. # Copyright 1994 by the University of Washington
  15. #
  16. #  Permission to use, copy, modify, and distribute this software and its
  17. # documentation for any purpose and without fee is hereby granted, provided
  18. # that the above copyright notice appears in all copies and that both the
  19. # above copyright notice and this permission notice appear in supporting
  20. # documentation, and that the name of the University of Washington not be
  21. # used in advertising or publicity pertaining to distribution of the software
  22. # without specific, written prior permission.  This software is made
  23. # available "as is", and
  24. # THE UNIVERSITY OF WASHINGTON DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED,
  25. # WITH REGARD TO THIS SOFTWARE, INCLUDING WITHOUT LIMITATION ALL IMPLIED
  26. # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, AND IN
  27. # NO EVENT SHALL THE UNIVERSITY OF WASHINGTON BE LIABLE FOR ANY SPECIAL,
  28. # INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  29. # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, TORT
  30. # (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING OUT OF OR IN CONNECTION
  31. # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  32.  
  33.  
  34. OS = wsk
  35. EXTRADRIVERS = 
  36. DRIVERS = imap nntp bezrkdos tenexdos dawz dummy
  37. DEFAULTDRIVER = dawz
  38. CFLAGS= -AL -nologo $(EXTRACFLAGS)
  39. CC = cl
  40.  
  41. all:    mtest.exe
  42.  
  43. .c.obj:
  44.     $(CC) -c $(CFLAGS) $*.c
  45.  
  46. osdep.h: os_$(OS).h
  47.     copy os_$(OS).h osdep.h
  48.     drivers $(EXTRADRIVERS) $(DRIVERS)
  49.     ECHO #define DEFAULTPROTO $(DEFAULTDRIVER)proto >> LINKAGE.H
  50.  
  51. mtest.obj: mail.h smtp.h misc.h osdep.h mtest.c
  52.  
  53. mail.obj: mail.h misc.h osdep.h mail.c
  54.  
  55. imap2.obj: mail.h imap2.h misc.h osdep.h imap2.c
  56.  
  57. dawz.obj: mail.h dawz.h misc.h osdep.h dawz.c
  58.  
  59. tenexdos.obj: mail.h tenexdos.h misc.h osdep.h tenexdos.c
  60.  
  61. bezrkdos.obj: mail.h bezrkdos.h misc.h osdep.h bezrkdos.c
  62.  
  63. nntpcdos.obj: mail.h nntpcdos.h misc.h osdep.h nntpcdos.c
  64.  
  65. dummydos.obj: mail.h dummy.h misc.h osdep.h dummydos.c
  66.  
  67. smtp.obj: mail.h smtp.h rfc822.h misc.h osdep.h smtp.c
  68.  
  69. nntp.obj: mail.h nntp.h smtp.h rfc822.h misc.h osdep.h nntp.c
  70.  
  71. rfc822.obj: mail.h rfc822.h misc.h rfc822.c
  72.  
  73. misc.obj: mail.h misc.h misc.c
  74.  
  75. sm_dos.obj: mail.h misc.h sm_dos.c
  76.  
  77. newsrc.obj: mail.h misc.h newsrc.h newsrc.c
  78.  
  79. os_$(OS).obj: mail.h osdep.h env_dos.h fs.h ftl.h nl.h tcp.h \
  80.     os_$(OS).c fs_dos.c ftl_dos.c nl_dos.c env_dos.c
  81.  
  82. cclient.lib: mail.obj imap2.obj dawz.obj tenexdos.obj bezrkdos.obj \
  83.     nntpcdos.obj dummydos.obj smtp.obj nntp.obj misc.obj rfc822.obj \
  84.     sm_dos.obj newsrc.obj os_$(OS).obj
  85.     erase cclient.lib
  86.     lib cclient +mail+imap2+dawz+tenexdos+bezrkdos+nntpcdos+dummydos+smtp+nntp+misc+rfc822+sm_dos+newsrc+os_$(OS);
  87.  
  88. mtest.exe: cclient.lib mtest.obj
  89.     mtest$(OS)
  90.